@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    min-height: 2000px;
}

:root {
    --titile-font: "Quicksand", sans-serif;
    --roboto: "Roboto", sans-serif;
}

.img-box-hero {
    position: relative;
    width: 100%;
    height: 550px;
}

.img-box-hero .img-box {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('../img/hero/rapat.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


.img-box-hero .img-box::before {
    content: '';
    display: block;
    width: 100%;
    height: 80%;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));

    position: absolute;
    bottom: 0;
}

.img-box-hero .img-box::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
    position: absolute;
    bottom: 0;
}

.img-box-hero .title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100;
    color: #fff;
}

.img-box-hero .title h1 {
    font-size: 40px;
    font-family: var(--titile-font);
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.img-box-hero .title p {
    font-weight: 400;
    text-align: center;
    line-height: 25px;
    margin: 25px 0 15px 0;
    width: 100%;
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.822);
}

.img-box-hero .title .button button {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 300;
    margin: 0 10px;
    border: 1.5px solid #fff;
    overflow: hidden;
    transition: .8s;
    background-color: transparent;
    cursor: pointer;
}

.img-box-hero .title .button button::after {
    content: '';
    width: 25%;
    height: 100%;
    position: absolute;
    display: block;
    top: 5%;
    left: -20%;
    transform: rotate(45deg);
    background-color: #a1e278;
}

.img-box-hero .title .button button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 180%;
    background-color: #fff;
    z-index: -1;
    transition: .8s;
}

.img-box-hero .title .button button:hover {
    color: #0eb04d;
    transition: .8s;

}

.img-box-hero .title .button button:hover::before {
    width: 100%;
    transition: .8s;
}

@media (max-width:992px) {
    .img-box-hero .title h1 {
        font-size: 35px;
    }

    .img-box-hero .title p {
        line-height: 20px;
        margin: 25px 0 20px 0;
        font-size: 18px;
    }

    .img-box-hero .title .button button {
        padding: 10px 20px;
        font-weight: 300;
        margin: 0 10px;
    }

}

@media (max-width:768px) {
    .img-box-hero .title h1 {
        font-size: 30px;
    }

    .img-box-hero .title p {
        line-height: 25px;
        margin: 25px 0 20px 0;
        font-size: 15px;
    }

    .img-box-hero .title .button button {
        padding: 8px 16px;
        font-weight: 300;
        margin: 0 10px;
        font-size: 12px;
    }

    .img-box-hero .title .button button::after {
        content: '';
        width: 23%;
        height: 100%;
        top: 5%;
        left: -20%;
    }
}

@media (max-width:425px) {
    .img-box-hero .title h1 {
        font-size: 25px;
    }

    .img-box-hero .title p {
        line-height: 25px;
        margin: 25px 0 20px 0;
        font-size: 12px;
    }

    .img-box-hero .title .button button {
        padding: 8px 16px;
        font-weight: 300;
        margin: 0 10px;
        font-size: 10px;
    }

    .img-box-hero .title .button button::after {
        content: '';
        width: 23%;
        height: 100%;
        top: 5%;
        left: -20%;
    }
}